import { Module } from '@nestjs/common';
import { GatewayController } from './gateway.controller';
import { GatewayService } from './gateway.service';
import { TcpListModule } from '@app/tcp-list';
import { FormatModule } from '@app/format';
import { JwtService } from '@nestjs/jwt';
import { NacosConfigModule } from '@app/nacos-config';
import { NacosRegisterModule } from '@app/nacos-register';
import { EtcdConfigModule } from '@app/etcd-config';
import { EtcdRegisterModule } from '@app/etcd-register';

@Module({
  imports: [
    TcpListModule,
    FormatModule,
    NacosConfigModule,
    NacosRegisterModule,
    EtcdConfigModule,
    EtcdRegisterModule,
  ],
  controllers: [GatewayController],
  providers: [GatewayService, JwtService],
})
export class GatewayModule {}
